package team.ttorder.ttorder.service;

import java.util.List;

import team.ttorder.ttorder.javabean.PageBean;
import team.ttorder.ttorder.model.Food;
import team.ttorder.ttorder.model.Table;

public interface ITableService {
	
	public PageBean<Table> selectAll(int pageNum, int pageSize);	
	
	public List<Table> findAllTables();
	
    public Table selectTableById(int id);
   
    public List<Table> selectTablesStatus(int tablesStatus);
   
    public void addTable(Table table);
    
    public void updaTetable(Table table);
   
    public void deleteTable(int id);

	public List<Food> selectFood(int foodTypeId);
	
}
